<template>
  <div id="app">
  <el-col :span="24">
    <el-container>
      <el-header style="border-bottom:1px solid #E8E8E8;" height="100px">
          <Header></Header>
      </el-header>
      <el-container>
      <el-aside width="250px">
      <Asides></Asides>
      </el-aside>
      <el-main>
        <router-view :key="key"></router-view>
      </el-main>
      </el-container>
    </el-container>
    </el-col>
  </div>
</template>

<script>
import Asides from '@/components/Aside'
import Header from "@/components/Header";
export default {
  name: "app",

  components: {
    Header,
    Asides
  },
  computed: {
    key() {
      return this.$route.path + Math.random();
    }
  },
  methods: {}
};
</script>

<style>
*{
  padding: 0px;
  margin: 0px;
} 
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background-color: #fff;
}
::-webkit-scrollbar-thumb {
    
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: rgba(0, 0, 0, .1)
}
</style>
